package com.example.mallproduct.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * @author guanglin.ma
 * @date 2023-11-26 19:41
 */
@Component
@RefreshScope
public class ProductConfig {

    @Value("${product-config.testCode}")
    private String testCode;

    @Value("${product-config.bramk}")
    private String bramk;

    public String getTestCode() {
        return testCode;
    }

    public void setTestCode(String testCode) {
        this.testCode = testCode;
    }

    public String getBramk() {
        return bramk;
    }

    public void setBramk(String bramk) {
        this.bramk = bramk;
    }
}
